﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TabPaymentHistory.ascx.cs" Inherits="BigLotterySyndicate.Secured.Users.Controls.TabPaymentHistory" %>
<%@ Register TagPrefix="Syndicate" TagName="Pager" Src="~/Controls/Pager.ascx" %>
<%@ Register TagPrefix="Syndicate" TagName="PaymentListItem" Src="~/Secured/Controls/PaymentListItem.ascx"   %>
<asp:MultiView ID="MultiViewList" runat="server">
<asp:View ID="ViewList" runat="server">
<Syndicate:Pager runat="server" ID="TopPager" PageSize="40" PageIndexPageParam="Page" OnPageIndexChanged="Pager_PageIndexChanged" Visible="true"/>
<table cellpadding="2" cellspacing="2">
<thead>
<tr>
<th class="left">Description</th>
<th>Date created</th>
<th>Authorised by</th>
<th>Paid in</th>
<th>Paid out</th>
</tr>
</thead>
<tbody>
<asp:Repeater ID="RepeaterList" runat="server">
    <ItemTemplate>
    <Syndicate:PaymentListItem ID="PaymentListItem" ShowDetails="False" runat="server" />    
    </ItemTemplate>    
    <AlternatingItemTemplate>
     <Syndicate:PaymentListItem ID="PaymentListItem" ShowDetails="False" AlternateRow="True" runat="server" />  
    </AlternatingItemTemplate>    
</asp:Repeater>
</tbody>
</table>
<Syndicate:Pager runat="server" ID="BottomPager" PageSize="40" PageIndexPageParam="Page" OnPageIndexChanged="Pager_PageIndexChanged" Visible="false"/>
</asp:View>
<asp:View ID="ViewEmpty" runat="server">
<p>No entries found.</p>
</asp:View>
</asp:MultiView>